//
//  UIImageView + Extension.swift
//  Residual_memmem
//
//  Created by 武振磊 on 16/7/29.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

extension UIImageView{
    convenience init(imageName: String){
        self.init(image:UIImage(named: imageName))
        
        sizeToFit()
    }
}
